package com.powernode.spring6.bean;

public class Vip {
    private String name;
    public Vip() {
        System.out.println("Vip的构造方法执行。");
    }

    public void setName(String name) {
        System.out.println("给Vip的属性辅助");
        this.name = name;
    }

    @Override
    public String toString() {
        return "Vip{" +
                "name='" + name + '\'' +
                '}';
    }
    public void initVip(){
        System.out.println("初始化VipBean");
    }
    public void destroyVip(){
        System.out.println("销毁VipBean");
    }
}
